//AppleTest.java
package com.ylaihui.oop5;

public class AppleTest {
	public static void main(String[] args) {
		Apple ap = new Apple();
		
		ap.price = 12.11;
		ap.methodPublic();
		
		// is not visible
//		ap.name = "red apple";
//		ap.id = 1001;
//		ap.color = "red";
		
		// is not visible
//		ap.methodPrivate();
//		ap.methodDefault();
//		ap.methodProtected();
		
	}
}
